<?php echo $header; ?>
<!-- End header -->

<!-- Begin content --> 
            <div id="main" class="p13t">
                <!-- Flash -->
                <div style="font-size: 0pt;">
                    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950" height="344">
                          <param name="movie" value="catalog/view/theme/<?php echo $template; ?>/swf/cox_home.swf" />
                          <param name="quality" value="high" />
                          <param name="wmode" value="transparent" />
                          <param name="swfversion" value="9.0.45.0" />
                          
                          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                          <param name="expressinstall" value="catalog/view/theme/<?php echo $template; ?>/js/expressInstall.swf" />
                          <param name="flashvars" value="var1=<?php echo $flash_url; ?>" />
                          
                          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                          <!--[if !IE]>-->
                          <object type="application/x-shockwave-flash" data="catalog/view/theme/<?php echo $template; ?>/swf/cox_home.swf" width="950" height="344">
                        <!--<![endif]-->
                        
                        <param name="quality" value="high" />
                        <param name="wmode" value="transparent" />
                        <param name="swfversion" value="9.0.45.0" />
                        <param name="expressinstall" value="catalog/view/theme/<?php echo $template; ?>/js/expressInstall.swf" />
                        <param name="flashvars" value="var1=<?php echo $flash_url; ?>" />
                        
                        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                        <div>
                              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                        </div>
                        
                        <!--[if !IE]>-->
                          </object>
                          <!--<![endif]-->
                    </object>
                </div>
                    
                <div class="p10t">
                    <div class="bg_banner">
                        <?php if(1==0){ ?>
                            <div class="bg_banner_text p30l p30r p30t">
                                <a href="<?php echo isset($categories[0]['href']) ? $categories[0]['href'] : '#'; ?>">beklædning </a><br />
                                <span style="font-size:13px">dame</span>
                            </div>                
                            <div class="bg_banner_text p30l p30r p30t">
                                <a href="<?php echo isset($categories[1]['href']) ? $categories[1]['href'] : '#'; ?>">beklædning </a><br />
                                <span style="font-size:13px">herre</span>
                            </div>                
                            <div class="bg_banner_text p30l p30r p30t">
                                <a href="<?php echo isset($categories[2]['href']) ? $categories[2]['href'] : '#'; ?>">fodtøj</a><br />
                                <span style="font-size:13px">sko & støvler</span>
                            </div>                
                            <div class="bg_banner_text p30l p30r p30t">
                                <a href="<?php echo isset($categories[3]['href']) ? $categories[3]['href'] : '#'; ?>">arbejdstøj</a><br />
                                <span style="font-size:13px">erhvervsartikler</span>
                            </div>                
                            <div class="bg_banner_text p30l p30r p30t">
                                <a href="<?php echo isset($categories[4]['href']) ? $categories[4]['href'] : '#' ; ?>">bådudstyr</a><br />
                                <span style="font-size:13px">friskegrej</span>
                            </div>                
                            <div class="bg_banner_text p30l p30t" style="background-image:none">
                                <a href="<?php echo isset($categories[5]['href']) ? $categories[5]['href'] : '#'; ?>">gaveartikler</a><br />        
                                <span style="font-size:13px">båden og hjemmet</span>       
                            </div>
                        <?php } ?>
                                                
                        <?php foreach($categories as $category){ ?>                          
                            <div class="bg_banner_text p30l p30r p30t">
                                <a href="<?php echo $category['href']; ?>"><?php echo $category['meta_keywords']; ?></a><br />
                                <span style="font-size:13px"><?php echo $category['meta_description']; ?></span>
                            </div>
                        <?php } ?>                        
                    </div>
                </div>
            </div>
            
            <div class="p10t">
                <div class="bg_banner2">
                    <?php echo $newsletter_home; ?>
                    
                    <div class="box_face">
                        <table width="95%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="30%"><a href="http://havhoekeren.wordpress.com" target="_blank"><img src="catalog/view/theme/<?php echo $template; ?>/images/icon_blog.png"/></a></td>
                                <td width="40%"><a href="http://www.facebook.com/#!/pages/Gilleleje-Denmark/Havhokeren/120681221280479 " target="_blank"><img src="catalog/view/theme/<?php echo $template; ?>/images/icon_facebook.png"/></a></td>
                                <td width="30%"><a href="#"><img src="catalog/view/theme/<?php echo $template; ?>/images/icon_twitter.png" /></a></td>
                            </tr>
                        </table>                
                    </div>            
                </div> 
                <div class="cb"></div>
            </div>
              
            
            <!-- Left column -->
            <?php echo $column_left_home; ?>
      
            <div id="col2" class="w709">                  
                  <div class="tt_middle">
                      <span class="float_left"><img src="catalog/view/theme/<?php echo $template; ?>/images/text_nyeste.png" width="188" height="12" /></span>
                      <span class="seall float_right"><a href="<?php echo $products; ?>">Se alle</a></span>
                      <p class="cb"></p>
                  </div>
                  
                  <!-- Latest products -->
                  <?php echo $latest; ?> 
            </div>
            <p class="cb"></p>        
        </div>
    </div>
    <!-- End main content -->

    <!-- Begin footer -->
    <div id="footer">
        <div class="page_content">
            <span class="float_left"><?php echo $text_powered_by; ?></span>
            <span class="float_right">Design by<a href="http://www.mywebcreations.dk/" target="_blank"> My Web Creations</a></span>
            <p class="cb"></p>
        </div>
    </div>
    
    <!--
    <div class="box_livesuppor_right">
        <p><a href="<?php echo $link; ?>"><img src="catalog/view/theme/<?php echo $template; ?>/images/bt_forhandlen1.png"/></a></p>      
    </div>
    -->
            
        <?php echo $cart_detailview; ?>
      </div>
</div>
</body>
</html>








<?php echo $header; ?>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/js/swfobject_modified.js" ></script>  
<script type="text/javascript">
    $(function(){
        $('.prd-list li').showFeatureText(); 
        $("#slider").jCarouselLite({
            btnNext: ".next",
            btnPrev: ".prev",
            visible : 5,
            scroll: 1,
            auto: 3000,
            speed : 400
        });
        
        $("#slider").hover(    
            function () {
                $(this).addClass("active");
            },
            function () {
                $(this).removeClass("active");
            }
        );   
        
        $(".prd-list li").hover(    
            function () {
                $(this).addClass("active");
            },
            function () {
                $(this).removeClass("active");
            }
        );   
    })
    
    $.fn.showFeatureText = function() {
        return this.each(function(){    
            var box = $(this);
            var text = $('p',this);    
    
            text.css({ position: 'absolute', top: '90px' }).hide();
    
            box.hover(function(){
                    text.slideDown("slow");
                },
                function(){
                    text.slideUp("slow");
                }
            );
    
        });
    }
</script> 
            
<!-- End header -->

<!-- Begin content --> 
            <div id="main" class="p13t">
                <!-- Flash -->
                <div style="font-size: 0;">
                    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950" height="266">
                          <param name="movie" value="catalog/view/theme/<?php echo $template; ?>/swf/cox_home.swf" />
                          <param name="quality" value="high" />
                          <param name="wmode" value="transparent" />
                          <param name="swfversion" value="9.0.45.0" />
                          
                          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                          <param name="expressinstall" value="catalog/view/theme/<?php echo $template; ?>/js/expressInstall.swf" />
                          <param name="flashvars" value="var1=<?php echo $flash_url; ?>" />
                          
                          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                          <!--[if !IE]>-->
                          <object type="application/x-shockwave-flash" data="catalog/view/theme/<?php echo $template; ?>/swf/cox_home.swf" width="950" height="266">
                        <!--<![endif]-->
                        
                        <param name="quality" value="high" />
                        <param name="wmode" value="transparent" />
                        <param name="swfversion" value="9.0.45.0" />
                        <param name="expressinstall" value="catalog/view/theme/<?php echo $template; ?>/js/expressInstall.swf" />
                        <param name="flashvars" value="var1=<?php echo $flash_url; ?>" />
                        
                        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                        <div>
                              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                        </div>
                        
                        <!--[if !IE]>-->
                          </object>
                          <!--<![endif]-->
                    </object>
                </div>
                    
                <div class="p10t">
                    <div id="prdSlider">
                        <a class="prev txt-hidden" href="#"><img src="catalog/view/theme/<?php echo $template; ?>/images/prev_btn.png" alt=""/></a>
                        <div id="slider">                 
                            <ul class="prd-list">
                                <?php $i = 1; ?>
                                <?php foreach($categories as $category){ ?>  
                                    <li class="item<?php echo $i; ?>">  
                                        <a href="<?php echo $category['href']; ?>">
                                            <span class="title"><?php echo $category['meta_keywords']; ?></span>
                                            <span class="sub"><?php echo $category['meta_description']; ?></span>
                                        </a> 
                                        <p class="sub-menu">
                                            <?php foreach($category['children'] as $child_item){ ?> 
                                                <a href="<?php echo $child_item['href']; ?>"><?php echo $child_item['name']; ?></a>                                                 
                                            <?php } ?>
                                        </p>                                            
                                    </li>
                                    <?php $i++; ?>
                                <?php } ?> 
                            </ul>
                        </div>
                        <a class="next txt-hidden" href="#"><img src="catalog/view/theme/<?php echo $template; ?>/images/next_btn.png" alt=""/></a>
                    </div>
                    
                </div>
            </div>
            
            <?php echo $newsletter_home; ?>              
            
            <!-- Left column -->
            <?php echo $column_left_home; ?>
      
            <div id="col2" class="w709 p10t">                   
                  <h1><img src="catalog/view/theme/<?php echo $template; ?>/images/line_mid.png" alt="Udvalgte produkter" /></h1>
                  <!-- Latest products -->
                <?php echo $product; ?>
            </div>
            <p class="cb"></p>        
        </div>
    </div>
    <!-- End main content -->

    <!-- Begin footer -->
    <div id="footer">
        <div class="page_content">
            <span class="float_left"><?php echo $text_powered_by; ?></span>
            <span class="float_right">Design by<a href="http://www.mywebcreations.dk/" target="_blank"> My Web Creations</a></span>
            <p class="cb"></p>
        </div>
    </div>            
        <?php echo $cart_detailview; ?>
      </div>
    
    <script type="text/javascript">
        swfobject.registerObject("FlashID");
    </script>
</div>
</body>
</html>